package com.woniuxy.enjoylife.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author teamEnjoyLife75
 * @since 2021-01-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
//商品表
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //发布者id
    private Integer uid;
    //商品类型
    private Integer type;
    //商品名称
    private String name;
    //商品图片
    private String image;
    //商品价格
    private BigDecimal price;
    //商品介绍
    private String content;
    //发布者联系方式
    private String phone;
    //是否删除  0：上架   1：已删除    2：已出售
    private Integer status;


}
